import http from '@/utils/http'

export const getMemberList = async () => {
    const url = '/api/memberlist'
    return http.get(url)
}

export const setMerberApi = async (data) => {
    const url = '/api/memberedit'
    return http.post(url, data)
}

export const getMerberApi = async (data) => {
    const url = '/api/memberinfo'
    return http.get(url,{params:{uid: data}})
}
